package com.wn.carport.mapper;

import com.wn.common.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @BelongsProject: shared_parking
 * @BelongsPackage: com.wn.carport.mapper
 * @Author: 廖刚
 * @CreateTime: 2020-06-23 16:33
 * @Description:
 */
public interface UserMapper {

    //通过用户id，获取用户对象
    @Select("select * from user where u_id = #{uId}")
    User getUserById(@Param("uId") String uId);
}
